package com.suzhe.ymall.cart.pojo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data
@Document(collection = "cart")
public class CartSku {
    @Id
    private String id;

    private Integer userId;

    private Integer skuId;

    private String title;

    private String image;

    private Integer num;

    private String skuTitle;

    private Date createTime;

    private Date updateTime;

}
